package com.studyv3.test.service;

import com.studyv3.common.core.domain.PageBean;
import com.studyv3.common.core.domain.R;
import com.studyv3.test.domain.ApplyProduct;
import com.studyv3.test.domain.Batch;

import java.util.List;

/**
* @author 侯杰
* @description 针对表【lb_batch(lb_采购批次)】的数据库操作Service
* @createDate 2024-05-07 10:04:41
*/
public interface BatchService {

    R add(Batch add);

    R deleteUserByIds(Integer[] ids);

    R queryAll();

    PageBean<Batch> list(Integer pageNum, Integer pageSize, String a, String b, String c);


    PageBean<Batch> listwarehous(Integer pageNum, Integer pageSize, String a, String b, String c);

    R update(Batch buyProducts);

    List<ApplyProduct> todoList(Integer id);

    List<ApplyProduct> doneList(Integer id);

    Batch findById(Integer id);

    R findUseableBatch();
}
